package com.bds.btcdc.api.model;

import java.io.Serializable;

/**
 * @author: kevin
 * @date: 2018/5/10
 * @description: 交易接口传递的下单信息
 */
public class Order implements Serializable {

    /**
     * 账户的bds_id
     */
    private Long userId;

    /**
     * 交易所名称
     */
    private String exchange;

    /**
     * 币对
     */
    private String symbol;

    /**
     * 交易数量
     */
    private Double num;

    /**
     * 下单价格
     */
    private Double price;

    /**
     * 交易类型，取值范围：buy，sell
     */
    private String type;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public Double getNum() {
        return num;
    }

    public void setNum(Double num) {
        this.num = num;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
